//
//  LHXCutImageView.h
//  Etwo
//
//  Created by 林浩翔 on 16/6/17.
//  Copyright © 2016年 林浩翔. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LHXCutImageView : UIImageView<UIGestureRecognizerDelegate>

@property (assign,nonatomic)CGFloat scale;

@property (assign,nonatomic)CGRect fristFrame;

@property (weak,nonatomic)UIPinchGestureRecognizer *pinch;

@property (weak,nonatomic)UIPanGestureRecognizer *pan;

@property (weak,nonatomic)UITapGestureRecognizer *tap;

@property (weak,nonatomic)UIRotationGestureRecognizer *rotation;


+ (instancetype)cutImageWith:(UIImage *)image;

- (void)pan:(UIPanGestureRecognizer *)pan;

- (void)rotation:(UIRotationGestureRecognizer *)rotatin;

- (void)pinch:(UIPinchGestureRecognizer *)pinch;
@end
